package com.wtwd.device.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author mjy
 * @since 2021-10-20
 */
@ApiModel(value="AppUserTotal对象", description="")
public class AppUserTotal implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty(value = "用户总步数")
    private Integer stepTotal;

    @ApiModelProperty(value = "用户总的跑步公里数")
    private Integer runTotal;

    @ApiModelProperty(value = "用户骑行总公里数")
    private Integer ridingTotal;

    @ApiModelProperty(value = "总热量数")
    private Integer heatTotal;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getStepTotal() {
        return stepTotal;
    }

    public void setStepTotal(Integer stepTotal) {
        this.stepTotal = stepTotal;
    }

    public Integer getRunTotal() {
        return runTotal;
    }

    public void setRunTotal(Integer runTotal) {
        this.runTotal = runTotal;
    }

    public Integer getRidingTotal() {
        return ridingTotal;
    }

    public void setRidingTotal(Integer ridingTotal) {
        this.ridingTotal = ridingTotal;
    }

    public Integer getHeatTotal() {
        return heatTotal;
    }

    public void setHeatTotal(Integer heatTotal) {
        this.heatTotal = heatTotal;
    }

    @Override
    public String toString() {
        return "AppUserTotal{" +
                "id=" + id +
                ", userId=" + userId +
                ", stepTotal=" + stepTotal +
                ", runTotal=" + runTotal +
                ", ridingTotal=" + ridingTotal +
                ", heatTotal=" + heatTotal +
                '}';
    }
}
